package cn.buddha.jesj.callback;

import lombok.Builder;
import org.springframework.util.StringUtils;

/**
 * @ClassName WorkerService
 * @Author 友野浩二
 * @Date 2019/11/17 11:23
 * @Description
 * @Version 1.0
 */
@Builder
public class WorkerService implements BaseCallbackService {

    @Override
    public void callback(final String calcType, final String answer) {
        if (!StringUtils.isEmpty(answer)) {
            System.out.println("工人计算类型" + calcType + "的答案: " + answer);
        }
    }
}
